Lara\Widgets\GoogleAnalytics\LaraGoogleAnalyticsWidget C

Total Complexity 114
Dependencies 6
Dependents 0
Total lines 461
Lines of code 377
Logical lines of code 256
Comment lines 1
Methods 35
Properties 20

Methods 35

Method Rating Maintainability Complexity Lines of code
setProfileID()
B
41 22 54
getSessions()
A
40 15 48
getEarnings()
A
54 8 20
getGraphData()
S
53 7 22
checkSettings()
S
60 7 12
doCall()
S
57 4 17
jsonOutput()
S
57 4 15
inCache()
S
62 3 11
getGraphObject()
S
62 3 11
array_find()
S
66 3 8
calculateTotals()
S
63 3 9
setDateRange()
S
69 3 6
getPages()
S
62 3 10
refreshToken()
S
59 2 14
getAccessToken()
S
60 2 13
set_database_setting()
S
72 2 5
preparePagesOutput()
S
65 2 8
setGapiValues()
S
73 2 5
purgeCache()
S
75 2 5
set_session_setting()
S
72 2 5
getProfiles()
S
58 1 14
__construct()
S
61 1 12
roundNumbers()
S
75 1 4
convertDate()
S
77 1 3
getBrowsers()
S
75 1 4
getLanguages()
S
75 1 4
getAuthURL()
S
71 1 5
get_database_setting()
S
79 1 3
setSystemTimeZone()
S
81 1 3
getOS()
S
75 1 4
settingsReset()
S
71 1 6
getDevices()
S
71 1 6
getScreenResolution()
S
75 1 4
setCurrentQueryParms()
S
75 1 4
get_session_setting()
S
79 1 3